package com.zhong.subject.domain.convert;

import com.zhong.subject.domain.bo.SubjectAnswerBO;
import com.zhong.subject.domain.bo.SubjectInfoBO;
import com.zhong.subject.infra.basic.entity.SubjectBrief;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper //此注解为mapstruct包下的
public interface SubjectBriefConverter {
    SubjectBriefConverter INSTANCE = Mappers.getMapper(SubjectBriefConverter.class);

    SubjectBrief convertBoToRadio(SubjectAnswerBO subjectAnswerBO);

    SubjectBrief convertInfoBoToBrief(SubjectInfoBO subjectInfoBO);

}
